package com.southpark.demo.control.commands.info
{
	import com.adobe.cairngorm.control.CairngormEvent;
	import com.southpark.demo.control.events.info.AddInfoEvent;
	import com.southpark.demo.control.responders.BaseResponder;


	public class AddUserErrorCommand extends BaseResponder
	{
		override public function execute(cairngormEvent:CairngormEvent):void
		{
			super.execute(cairngormEvent);
			var event:AddInfoEvent = cairngormEvent as AddInfoEvent;
			
			applicationManager.infoManager.showUserError(event.text);
			
			super.onSuccess(null);
		}
		
	}
}